package com.atguigu.gulimall.ware.feign;

import com.atguigu.gulimall.ware.vo.OrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-order")
public interface OrderFeign {
    @GetMapping("/order/omsorder/getOrderById/{orderSn}")
    public OrderVo getOrderBySn(@PathVariable("orderSn") String orderSn);
}
